package com.book.app.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * (Student)表实体类
 *
 * @author wjy
 * @since 2021-09-22 08:48:13
 */
@SuppressWarnings("serial")
@Data
public class Student implements Serializable{
    @TableId  //数据库对应主键
    @ApiModelProperty(hidden = true)
    private Integer sid;
    @ApiModelProperty(value = "学号",required = true,dataType = "string",example = "20181001")
    private String snum;
    @ApiModelProperty(value = "姓名",required = true,dataType = "string",example = "王婧莹")
    private String sname;
    @ApiModelProperty(value = "专业",required = true,dataType = "string",example = "软件工程")
    private String specialty;
    @ApiModelProperty(value = "性别",required = true,dataType = "string",example = "女")
    private String sex;
    @ApiModelProperty(value = "联系方式",required = true,dataType = "string",example = "134********")
    private String tel;
    @TableLogic
    @ApiModelProperty(hidden = true)
    private Integer deleted;
    @ApiModelProperty(hidden = true)
    private String createtime;
    @ApiModelProperty(hidden = true)
    private String modifytime;
    }

